<?php echo $doctype; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head>
  <title></title>
  
  <?php showTpl('meta'); ?>
 </head>
 <body>
  <?php showTpl('header'); ?>
  <div class="container">
   <?php showTpl('navigation'); ?>
   <div class="main">
<a href="<?php echo linkAt('fora'); ?>"><?php echo $sitename; ?></a> -> <?php echo $ftitle ?>
    <div class="content">
     <?php foreach( $threads as $thread ): ?>
       <h1><a href="<?php echo linkAt('post', 'pretty', array('tid'=>$thread['id'])); ?>" ><?php echo $thread['title']; ?></a></h1>
       <p><?php echo $thread['datum']; ?></p>
     <?php endforeach; ?>
    </div>
   </div>
   <div class="clearer"><span></span></div>
   <a href="../view/new_post.php?fid=<?php echo $fid ?>" >New Thread</a>
   <?php showTpl('footer'); ?>
  </div>
 </body>
</html>
